// 处理Token失效
// 说明：为了能够在非组件环境下拿到路由信息，需要我们安装一个history包
import { createBrowserHistory } from 'history'
import { unstable_HistoryRouter as HistoryRouter } from 'react-router-dom'

const history = createBrowserHistory()

export { history, HistoryRouter }
